<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 0b 
        // 0o
        // 0x 

        // console.log(parseInt('abc'))
        // console.log(parseInt('abc',16)); //把abc当做16进制看待 
        //转成10进制以后输出 
        // console.log(parseInt('101')); //101
        // console.log(parseInt('101',2)); //101当成2进制 转成10进制以后输出
    </script>
</body>
</html>